<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/9/30
 * Time: 16:48
 */

namespace app\admin\model;

use think\Model;

class News extends Model
{
    public function categorylist(){
        return $this  -> where(['uid' => session('userinfo:id')]) -> select();
    }
}